You are here: Symbol Reference > Dew Namespace > Dew.Stats Namespace > Dew.Stats.Units Namespace > Classes > StatTimeSerAnalysis Class > StatTimeSerAnalysis Methods > StatTimeSerAnalysis.DurbinWatson Method
Dew Stats for .NET
ContentsIndexHome
PreviousUpNext
StatTimeSerAnalysis.DurbinWatson Method

Calculates the Durbin-Watson statistic

Syntax
C#
Visual Basic
public static double DurbinWatson([In] TVec Residuals);

The Durbin-Watson tests for presence of correlation between consecutive residuals. We are testing hypothesis:

  • H0: The residuals are not correlated.
  • HA: Residuals are autocorrelated.

The test statistics ranges from 0 to 4 where d value of means:

  • 0 : autocorrelation not preset.
  • < 2: positive serial correlation.
  • > 2: negative serial correlation.

A perfect result is a value equal to two. Value less than 1.5 or bigger than 2.5 indicates an autocorrelation problem.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!